import { BasicColumn } from '@/components/Table/src/types/table';

export function getBasicColumns(): BasicColumn[] {
  return [
    
    {
      title: '姓名',
      dataIndex: 'userName',
      width: 100,
    },
    {
      title: '身份证号',
      dataIndex: 'cerNo',
      width: 180,
    },
    {
      title: '联系电话',
      dataIndex: 'telno',
      width: 120,
    },
    {
      title: '归属地',
      dataIndex: 'areaName',
      width: 100,
    },
    {
      title: '套餐名称',
      dataIndex: 'mainprodname',
      width: 220,
    },
    {
      title: '套餐价格',
      dataIndex: 'price',
      width: 80,
      customRender: ({ text }) => {
        return text ? `${text}元` : '';
      },
    },
    {
      title: '套餐描述',
      dataIndex: 'desc',
      width: 200,
    },
    {
      title: '选择的号码',
      dataIndex: 'servnumber',
      width: 120,
    },
    {
      title: '邀请人',
      dataIndex: 'inviterName',
      width: 120,
    },
    {
      title: '邀请人号码',
      dataIndex: 'inviterPhone',
      width: 120,
    },
    {
      title: '创建时间',
      dataIndex: 'createTime',
      width: 150,
    },
  ];
} 
